package com.huaxin.common.Entity;

import java.util.List;

/**
 * Created by Administrator on 2016/9/6.
 * {"email":"749891289@qq.com","imgUrl":"20150610150650_1_120.jpg","msg":"登录成功","sex":0,
 * "checkState":1,"telPhone":"15927398772","title":"研发人员","userId":61,"nickName":"企业管理员"}
 */
public class UserDTO extends BaseDTO {
    double lat;
    double lon;
    /**
     * sex : 0
     * serverAddress : http://10.0.0.54:8082/
     * orgName : 华信水务云
     * imgUrl :
     * title :
     * email :
     * nickName : 郭凯林
     * telPhone : 17607181906
     * orgCode : g935h6
     * company : 华信水务云
     * userId : 449
     * checkedState : 2
     * userInfo : {"warningNum":0,"days":0,"noticeNum":0,"image":"/uploads/org/20170113161146_项目管理最终版本.jpg","reportNum":3,"plateNum":"","arrangeTaskNum":0}
     * setDeviceHome : 0
     * setStationHome : 0
     */

    private String                  sex;
    private String       serverAddress;
    private String       orgName;
    private String       imgUrl;
    private String                  title;
    private String                  email;
    private String                  nickName;
    private String                  telPhone;
    private String                  orgCode;
    private String                  company;
    private int                     userId;
    private int                     checkedState;
    private UserInfoBean            userInfo;
    private int                     setDeviceHome;
    private int                     setStationHome;
    private String                  userIntroduction;
    private String                  vehicleModel;
    private String                  licensePlateNum;
    private List<WorkModuleArrBean> workModuleArr;
    //平台名字
    private String platformName;
    //第一个登录接口的orgCode
    private String firstOrgCode;

    public String getFirstOrgCode() {
        return firstOrgCode;
    }

    public void setFirstOrgCode(String firstOrgCode) {
        this.firstOrgCode = firstOrgCode;
    }

    public String getPlatformName() {
        return platformName;
    }

    public void setPlatformName(String platformName) {
        this.platformName = platformName;
    }

    public String getUserIntroduction() {
        return userIntroduction;
    }

    public void setUserIntroduction(String userIntroduction) {
        this.userIntroduction = userIntroduction;
    }



    public String getLicensePlateNum() {
        return licensePlateNum;
    }

    public void setLicensePlateNum(String licensePlateNum) {
        this.licensePlateNum = licensePlateNum;
    }

    public String getVehicleModel() {
        return vehicleModel;
    }

    public void setVehicleModel(String vehicleModel) {
        this.vehicleModel = vehicleModel;
    }


    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getServerAddress() {
        return serverAddress;
    }

    public void setServerAddress(String serverAddress) {
        this.serverAddress = serverAddress;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getTelPhone() {
        return telPhone;
    }

    public void setTelPhone(String telPhone) {
        this.telPhone = telPhone;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getCheckedState() {
        return checkedState;
    }

    public void setCheckedState(int checkedState) {
        this.checkedState = checkedState;
    }

    public UserInfoBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoBean userInfo) {
        this.userInfo = userInfo;
    }

    public int getSetDeviceHome() {
        return setDeviceHome;
    }

    public void setSetDeviceHome(int setDeviceHome) {
        this.setDeviceHome = setDeviceHome;
    }

    public int getSetStationHome() {
        return setStationHome;
    }

    public void setSetStationHome(int setStationHome) {
        this.setStationHome = setStationHome;
    }


    public static class UserInfoBean {
        /**
         * warningNum : 0
         * days : 0
         * noticeNum : 0
         * image : /uploads/org/20170113161146_项目管理最终版本.jpg
         * reportNum : 3
         * plateNum :
         * arrangeTaskNum : 0
         */

        private int    warningNum;
        private int    days;
        private int    noticeNum;
        private String image;
        private int    reportNum;
        private String plateNum;
        private int    arrangeTaskNum;

        public int getWarningNum() {
            return warningNum;
        }

        public void setWarningNum(int warningNum) {
            this.warningNum = warningNum;
        }

        public int getDays() {
            return days;
        }

        public void setDays(int days) {
            this.days = days;
        }

        public int getNoticeNum() {
            return noticeNum;
        }

        public void setNoticeNum(int noticeNum) {
            this.noticeNum = noticeNum;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getReportNum() {
            return reportNum;
        }

        public void setReportNum(int reportNum) {
            this.reportNum = reportNum;
        }

        public String getPlateNum() {
            return plateNum;
        }

        public void setPlateNum(String plateNum) {
            this.plateNum = plateNum;
        }

        public int getArrangeTaskNum() {
            return arrangeTaskNum;
        }

        public void setArrangeTaskNum(int arrangeTaskNum) {
            this.arrangeTaskNum = arrangeTaskNum;
        }
    }

    public List<WorkModuleArrBean> getWorkModuleArr() {
        return workModuleArr;
    }

    public void setWorkModuleArr(List<WorkModuleArrBean> workModuleArr) {
        this.workModuleArr = workModuleArr;
    }

    public static class WorkModuleArrBean {
        /**
         * id : 1
         * imgUrl : http://localhost:8082/uploads/workModule/module_icon_attendence.png
         * name : 考勤
         */

        private int id;
        private String imgUrl;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

}
